package com.szxydb.dmp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@SpringBootApplication
@MapperScan(basePackages = "com.szxydb.dmp.admin.*.dao")
@ComponentScan(basePackages = {
        "com.szxydb.dmp.config","com.szxydb.dmp.common","com.szxydb.dmp.utils",
        "com.szxydb.dmp.admin","com.szxydb.dmp.filter","com.szxydb.dmp.exception"
})
public class DmpApplication {

    public static void main(String[] args) {

        SpringApplication.run(DmpApplication.class, args);
    }

}
